import request from '@/utils/request'
// 轮播图接口
export const home = (params) => {
  return request({
    method: 'get',
    url: '/home/swiper',
    params
  })
}
// 租房小组接口
export const homelist = (params) => {
  return request({
    method: 'get',
    url: '/home/groups',
    params
  })
}
// 获取城市列表
export const getCitys = (params) => {
  return request({
    method: 'get',
    url: '/area/city',
    params
  })
}
// 热门城市
export const getHotCitys = (params) => {
  return request({
    method: 'get',
    url: '/area/hot',
    params
  })
}
// 根据城市名查询城市信息
export const getCityMassage = (params) => {
  return request({
    method: 'get',
    url: '/area',
    params
  })
}
